<template>
    <div class="jianjie-box">
        <h3>{{jianjieList.title}}</h3>
        <hr>
        <div v-html="jianjieList.content" class="conteir"></div>
    </div>
</template>
<script>
export default {
    data() {
        return {
            jianjieList:{}
        }
    },
    created() {
        this.getjianjie()
    },
    methods: {
        getjianjie(){
            this.$http.get('http://www.liulongbin.top:3005/api/goods/getdesc/'+this.$route.params.id).then(result=>{
                if(result.body.status==0){
                    this.jianjieList=result.body.message[0]
                }
            })
        }
    },
}
</script>
<style lang="scss">
.jianjie-box{
    h3{
        font-size: 16px;
        color: #22aff2;
        text-align: center;
        margin: 15px 0;
    }
    img{
        width: 100%
    }
    .conteir{
        padding: 0 10px;
    }
}
</style>
